{% extends "esquinica/index.html" %}

{% block events %}
<p>Formulario de Creacion de Eventos</p>
	
<form action="addEvent" method="post">
    
    <table>
    <tr>
        <td>
        {{ form.name.errors }}
             <label for="id_name">Titulo del Evento:</label>             
        </td>
        <td><input type="text" name="name" id="id_name" /></td>
    </tr>
    <tr>
        <td>
        {{ form.place.errors }}
             <label for="id_place">Lugar en donde se realiza:</label>             
        </td>
        <td><input type="text" name="place" id="id_place" /></td>
    </tr>
    <tr>
        <td>
        {{ form.event_date.errors }}
             <label for="id_event_date">Fecha:(AAAA-MM-DD)</label>             
        </td>
        <td><input type="text" name="event_date" id="id_event_date" /></td>
    </tr>
    <tr>
        <td>
             <label for="id_description">Extra Info:</label>             
        </td>
        <td><input type="text" name="description" id="id_description" /></td>
    </tr>
    
    </table>
    <p><input type="submit" value="Send message" /></p>
	
</form> 
  
{% endblock %}